QuickOPC User's Guide and Reference
OpaqueData Constructor(OpaqueDataType,Byte[])



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > OpaqueData Class > OpaqueData Constructor : OpaqueData Constructor(OpaqueDataType,Byte[])
The associated opaque data type.
The current opaque value, expressed as an array of bytes.
Initializes a new instance of the class. Initializes a new instance of the class with given data type and byte array.
Syntax
'Declaration
 
Public Function New( _
   ByVal dataType As OpaqueDataType, _
   ByVal byteArray() As Byte _
)
'Usage
 
Dim dataType As OpaqueDataType
Dim byteArray() As Byte
 
Dim instance As New OpaqueData(dataType, byteArray)
public OpaqueData( 
   OpaqueDataType dataType,
   byte[] byteArray
)

Parameters

dataType
The associated opaque data type.
byteArray
The current opaque value, expressed as an array of bytes.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also